Integrand size = 15, antiderivative size = 124 \[ \int x^3 (a+b x) \cosh (c+d x) \, dx=-\frac {6 a \cosh (c+d x)}{d^4}-\frac {24 b x \cosh (c+d x)}{d^4}-\frac {3 a x^2 \cosh (c+d x)}{d^2}-\frac {4 b x^3 \cosh (c+d x)}{d^2}+\frac {24 b \sinh (c+d x)}{d^5}+\frac {6 a x \sinh (c+d x)}{d^3}+\frac {12 b x^2 \sinh (c+d x)}{d^3}+\frac {a x^3 \sinh (c+d x)}{d}+\frac {b x^4 \sinh (c+d x)}{d} \]
[Out]
Time = 0.28 (sec) , antiderivative size = 124, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {6874, 3377, 2718, 2717} \[ \int x^3 (a+b x) \cosh (c+d x) \, dx=-\frac {6 a \cosh (c+d x)}{d^4}+\frac {6 a x \sinh (c+d x)}{d^3}-\frac {3 a x^2 \cosh (c+d x)}{d^2}+\frac {a x^3 \sinh (c+d x)}{d}+\frac {24 b \sinh (c+d x)}{d^5}-\frac {24 b x \cosh (c+d x)}{d^4}+\frac {12 b x^2 \sinh (c+d x)}{d^3}-\frac {4 b x^3 \cosh (c+d x)}{d^2}+\frac {b x^4 \sinh (c+d x)}{d} \]
[In]
[Out]
Rule 2717
Rule 2718
Rule 3377
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int \left (a x^3 \cosh (c+d x)+b x^4 \cosh (c+d x)\right ) \, dx \\ & = a \int x^3 \cosh (c+d x) \, dx+b \int x^4 \cosh (c+d x) \, dx \\ & = \frac {a x^3 \sinh (c+d x)}{d}+\frac {b x^4 \sinh (c+d x)}{d}-\frac {(3 a) \int x^2 \sinh (c+d x) \, dx}{d}-\frac {(4 b) \int x^3 \sinh (c+d x) \, dx}{d} \\ & = -\frac {3 a x^2 \cosh (c+d x)}{d^2}-\frac {4 b x^3 \cosh (c+d x)}{d^2}+\frac {a x^3 \sinh (c+d x)}{d}+\frac {b x^4 \sinh (c+d x)}{d}+\frac {(6 a) \int x \cosh (c+d x) \, dx}{d^2}+\frac {(12 b) \int x^2 \cosh (c+d x) \, dx}{d^2} \\ & = -\frac {3 a x^2 \cosh (c+d x)}{d^2}-\frac {4 b x^3 \cosh (c+d x)}{d^2}+\frac {6 a x \sinh (c+d x)}{d^3}+\frac {12 b x^2 \sinh (c+d x)}{d^3}+\frac {a x^3 \sinh (c+d x)}{d}+\frac {b x^4 \sinh (c+d x)}{d}-\frac {(6 a) \int \sinh (c+d x) \, dx}{d^3}-\frac {(24 b) \int x \sinh (c+d x) \, dx}{d^3} \\ & = -\frac {6 a \cosh (c+d x)}{d^4}-\frac {24 b x \cosh (c+d x)}{d^4}-\frac {3 a x^2 \cosh (c+d x)}{d^2}-\frac {4 b x^3 \cosh (c+d x)}{d^2}+\frac {6 a x \sinh (c+d x)}{d^3}+\frac {12 b x^2 \sinh (c+d x)}{d^3}+\frac {a x^3 \sinh (c+d x)}{d}+\frac {b x^4 \sinh (c+d x)}{d}+\frac {(24 b) \int \cosh (c+d x) \, dx}{d^4} \\ & = -\frac {6 a \cosh (c+d x)}{d^4}-\frac {24 b x \cosh (c+d x)}{d^4}-\frac {3 a x^2 \cosh (c+d x)}{d^2}-\frac {4 b x^3 \cosh (c+d x)}{d^2}+\frac {24 b \sinh (c+d x)}{d^5}+\frac {6 a x \sinh (c+d x)}{d^3}+\frac {12 b x^2 \sinh (c+d x)}{d^3}+\frac {a x^3 \sinh (c+d x)}{d}+\frac {b x^4 \sinh (c+d x)}{d} \\ \end{align*}
Time = 0.14 (sec) , antiderivative size = 82, normalized size of antiderivative = 0.66 \[ \int x^3 (a+b x) \cosh (c+d x) \, dx=\frac {-d \left (3 a \left (2+d^2 x^2\right )+4 b x \left (6+d^2 x^2\right )\right ) \cosh (c+d x)+\left (a d^2 x \left (6+d^2 x^2\right )+b \left (24+12 d^2 x^2+d^4 x^4\right )\right ) \sinh (c+d x)}{d^5} \]
[In]
[Out]
Time = 0.14 (sec) , antiderivative size = 119, normalized size of antiderivative = 0.96
method | result | size |
parallelrisch | \(\frac {3 d x \left (x \left (\frac {4 b x}{3}+a \right ) d^{2}+8 b \right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+2 \left (\left (-b \,x^{4}-a \,x^{3}\right ) d^{4}-6 x \left (2 b x +a \right ) d^{2}-24 b \right ) \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )+3 \left (x^{2} \left (\frac {4 b x}{3}+a \right ) d^{2}+8 b x +4 a \right ) d}{d^{5} \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}-1\right )}\) | \(119\) |
risch | \(\frac {\left (b \,x^{4} d^{4}+a \,d^{4} x^{3}-4 b \,d^{3} x^{3}-3 a \,d^{3} x^{2}+12 b \,d^{2} x^{2}+6 a \,d^{2} x -24 d x b -6 d a +24 b \right ) {\mathrm e}^{d x +c}}{2 d^{5}}-\frac {\left (b \,x^{4} d^{4}+a \,d^{4} x^{3}+4 b \,d^{3} x^{3}+3 a \,d^{3} x^{2}+12 b \,d^{2} x^{2}+6 a \,d^{2} x +24 d x b +6 d a +24 b \right ) {\mathrm e}^{-d x -c}}{2 d^{5}}\) | \(153\) |
meijerg | \(-\frac {16 i b \cosh \left (c \right ) \sqrt {\pi }\, \left (-\frac {i x d \left (\frac {5 x^{2} d^{2}}{2}+15\right ) \cosh \left (d x \right )}{10 \sqrt {\pi }}+\frac {i \left (\frac {5}{8} d^{4} x^{4}+\frac {15}{2} x^{2} d^{2}+15\right ) \sinh \left (d x \right )}{10 \sqrt {\pi }}\right )}{d^{5}}-\frac {16 b \sinh \left (c \right ) \sqrt {\pi }\, \left (\frac {3}{2 \sqrt {\pi }}-\frac {\left (\frac {3}{8} d^{4} x^{4}+\frac {9}{2} x^{2} d^{2}+9\right ) \cosh \left (d x \right )}{6 \sqrt {\pi }}+\frac {x d \left (\frac {3 x^{2} d^{2}}{2}+9\right ) \sinh \left (d x \right )}{6 \sqrt {\pi }}\right )}{d^{5}}+\frac {8 a \cosh \left (c \right ) \sqrt {\pi }\, \left (\frac {3}{4 \sqrt {\pi }}-\frac {\left (\frac {3 x^{2} d^{2}}{2}+3\right ) \cosh \left (d x \right )}{4 \sqrt {\pi }}+\frac {d x \left (\frac {x^{2} d^{2}}{2}+3\right ) \sinh \left (d x \right )}{4 \sqrt {\pi }}\right )}{d^{4}}-\frac {8 i a \sinh \left (c \right ) \sqrt {\pi }\, \left (\frac {i x d \left (\frac {5 x^{2} d^{2}}{2}+15\right ) \cosh \left (d x \right )}{20 \sqrt {\pi }}-\frac {i \left (\frac {15 x^{2} d^{2}}{2}+15\right ) \sinh \left (d x \right )}{20 \sqrt {\pi }}\right )}{d^{4}}\) | \(242\) |
parts | \(\frac {b \,x^{4} \sinh \left (d x +c \right )}{d}+\frac {a \,x^{3} \sinh \left (d x +c \right )}{d}-\frac {-\frac {4 b \,c^{3} \cosh \left (d x +c \right )}{d^{3}}+\frac {12 b \,c^{2} \left (\left (d x +c \right ) \cosh \left (d x +c \right )-\sinh \left (d x +c \right )\right )}{d^{3}}-\frac {12 b c \left (\left (d x +c \right )^{2} \cosh \left (d x +c \right )-2 \left (d x +c \right ) \sinh \left (d x +c \right )+2 \cosh \left (d x +c \right )\right )}{d^{3}}+\frac {4 b \left (\left (d x +c \right )^{3} \cosh \left (d x +c \right )-3 \left (d x +c \right )^{2} \sinh \left (d x +c \right )+6 \left (d x +c \right ) \cosh \left (d x +c \right )-6 \sinh \left (d x +c \right )\right )}{d^{3}}+\frac {3 a \,c^{2} \cosh \left (d x +c \right )}{d^{2}}-\frac {6 a c \left (\left (d x +c \right ) \cosh \left (d x +c \right )-\sinh \left (d x +c \right )\right )}{d^{2}}+\frac {3 a \left (\left (d x +c \right )^{2} \cosh \left (d x +c \right )-2 \left (d x +c \right ) \sinh \left (d x +c \right )+2 \cosh \left (d x +c \right )\right )}{d^{2}}}{d^{2}}\) | \(266\) |
derivativedivides | \(\frac {-\frac {4 b \,c^{3} \left (\left (d x +c \right ) \sinh \left (d x +c \right )-\cosh \left (d x +c \right )\right )}{d}+\frac {6 b \,c^{2} \left (\left (d x +c \right )^{2} \sinh \left (d x +c \right )-2 \left (d x +c \right ) \cosh \left (d x +c \right )+2 \sinh \left (d x +c \right )\right )}{d}-\frac {4 b c \left (\left (d x +c \right )^{3} \sinh \left (d x +c \right )-3 \left (d x +c \right )^{2} \cosh \left (d x +c \right )+6 \left (d x +c \right ) \sinh \left (d x +c \right )-6 \cosh \left (d x +c \right )\right )}{d}+\frac {b \left (\left (d x +c \right )^{4} \sinh \left (d x +c \right )-4 \left (d x +c \right )^{3} \cosh \left (d x +c \right )+12 \left (d x +c \right )^{2} \sinh \left (d x +c \right )-24 \left (d x +c \right ) \cosh \left (d x +c \right )+24 \sinh \left (d x +c \right )\right )}{d}+\frac {b \,c^{4} \sinh \left (d x +c \right )}{d}-a \,c^{3} \sinh \left (d x +c \right )+3 a \,c^{2} \left (\left (d x +c \right ) \sinh \left (d x +c \right )-\cosh \left (d x +c \right )\right )-3 a c \left (\left (d x +c \right )^{2} \sinh \left (d x +c \right )-2 \left (d x +c \right ) \cosh \left (d x +c \right )+2 \sinh \left (d x +c \right )\right )+a \left (\left (d x +c \right )^{3} \sinh \left (d x +c \right )-3 \left (d x +c \right )^{2} \cosh \left (d x +c \right )+6 \left (d x +c \right ) \sinh \left (d x +c \right )-6 \cosh \left (d x +c \right )\right )}{d^{4}}\) | \(356\) |
default | \(\frac {-\frac {4 b \,c^{3} \left (\left (d x +c \right ) \sinh \left (d x +c \right )-\cosh \left (d x +c \right )\right )}{d}+\frac {6 b \,c^{2} \left (\left (d x +c \right )^{2} \sinh \left (d x +c \right )-2 \left (d x +c \right ) \cosh \left (d x +c \right )+2 \sinh \left (d x +c \right )\right )}{d}-\frac {4 b c \left (\left (d x +c \right )^{3} \sinh \left (d x +c \right )-3 \left (d x +c \right )^{2} \cosh \left (d x +c \right )+6 \left (d x +c \right ) \sinh \left (d x +c \right )-6 \cosh \left (d x +c \right )\right )}{d}+\frac {b \left (\left (d x +c \right )^{4} \sinh \left (d x +c \right )-4 \left (d x +c \right )^{3} \cosh \left (d x +c \right )+12 \left (d x +c \right )^{2} \sinh \left (d x +c \right )-24 \left (d x +c \right ) \cosh \left (d x +c \right )+24 \sinh \left (d x +c \right )\right )}{d}+\frac {b \,c^{4} \sinh \left (d x +c \right )}{d}-a \,c^{3} \sinh \left (d x +c \right )+3 a \,c^{2} \left (\left (d x +c \right ) \sinh \left (d x +c \right )-\cosh \left (d x +c \right )\right )-3 a c \left (\left (d x +c \right )^{2} \sinh \left (d x +c \right )-2 \left (d x +c \right ) \cosh \left (d x +c \right )+2 \sinh \left (d x +c \right )\right )+a \left (\left (d x +c \right )^{3} \sinh \left (d x +c \right )-3 \left (d x +c \right )^{2} \cosh \left (d x +c \right )+6 \left (d x +c \right ) \sinh \left (d x +c \right )-6 \cosh \left (d x +c \right )\right )}{d^{4}}\) | \(356\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 85, normalized size of antiderivative = 0.69 \[ \int x^3 (a+b x) \cosh (c+d x) \, dx=-\frac {{\left (4 \, b d^{3} x^{3} + 3 \, a d^{3} x^{2} + 24 \, b d x + 6 \, a d\right )} \cosh \left (d x + c\right ) - {\left (b d^{4} x^{4} + a d^{4} x^{3} + 12 \, b d^{2} x^{2} + 6 \, a d^{2} x + 24 \, b\right )} \sinh \left (d x + c\right )}{d^{5}} \]
[In]
[Out]
Time = 0.33 (sec) , antiderivative size = 151, normalized size of antiderivative = 1.22 \[ \int x^3 (a+b x) \cosh (c+d x) \, dx=\begin {cases} \frac {a x^{3} \sinh {\left (c + d x \right )}}{d} - \frac {3 a x^{2} \cosh {\left (c + d x \right )}}{d^{2}} + \frac {6 a x \sinh {\left (c + d x \right )}}{d^{3}} - \frac {6 a \cosh {\left (c + d x \right )}}{d^{4}} + \frac {b x^{4} \sinh {\left (c + d x \right )}}{d} - \frac {4 b x^{3} \cosh {\left (c + d x \right )}}{d^{2}} + \frac {12 b x^{2} \sinh {\left (c + d x \right )}}{d^{3}} - \frac {24 b x \cosh {\left (c + d x \right )}}{d^{4}} + \frac {24 b \sinh {\left (c + d x \right )}}{d^{5}} & \text {for}\: d \neq 0 \\\left (\frac {a x^{4}}{4} + \frac {b x^{5}}{5}\right ) \cosh {\left (c \right )} & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.21 (sec) , antiderivative size = 232, normalized size of antiderivative = 1.87 \[ \int x^3 (a+b x) \cosh (c+d x) \, dx=-\frac {1}{40} \, d {\left (\frac {5 \, {\left (d^{4} x^{4} e^{c} - 4 \, d^{3} x^{3} e^{c} + 12 \, d^{2} x^{2} e^{c} - 24 \, d x e^{c} + 24 \, e^{c}\right )} a e^{\left (d x\right )}}{d^{5}} + \frac {5 \, {\left (d^{4} x^{4} + 4 \, d^{3} x^{3} + 12 \, d^{2} x^{2} + 24 \, d x + 24\right )} a e^{\left (-d x - c\right )}}{d^{5}} + \frac {4 \, {\left (d^{5} x^{5} e^{c} - 5 \, d^{4} x^{4} e^{c} + 20 \, d^{3} x^{3} e^{c} - 60 \, d^{2} x^{2} e^{c} + 120 \, d x e^{c} - 120 \, e^{c}\right )} b e^{\left (d x\right )}}{d^{6}} + \frac {4 \, {\left (d^{5} x^{5} + 5 \, d^{4} x^{4} + 20 \, d^{3} x^{3} + 60 \, d^{2} x^{2} + 120 \, d x + 120\right )} b e^{\left (-d x - c\right )}}{d^{6}}\right )} + \frac {1}{20} \, {\left (4 \, b x^{5} + 5 \, a x^{4}\right )} \cosh \left (d x + c\right ) \]
[In]
[Out]
none
Time = 0.47 (sec) , antiderivative size = 152, normalized size of antiderivative = 1.23 \[ \int x^3 (a+b x) \cosh (c+d x) \, dx=\frac {{\left (b d^{4} x^{4} + a d^{4} x^{3} - 4 \, b d^{3} x^{3} - 3 \, a d^{3} x^{2} + 12 \, b d^{2} x^{2} + 6 \, a d^{2} x - 24 \, b d x - 6 \, a d + 24 \, b\right )} e^{\left (d x + c\right )}}{2 \, d^{5}} - \frac {{\left (b d^{4} x^{4} + a d^{4} x^{3} + 4 \, b d^{3} x^{3} + 3 \, a d^{3} x^{2} + 12 \, b d^{2} x^{2} + 6 \, a d^{2} x + 24 \, b d x + 6 \, a d + 24 \, b\right )} e^{\left (-d x - c\right )}}{2 \, d^{5}} \]
[In]
[Out]
Time = 1.84 (sec) , antiderivative size = 122, normalized size of antiderivative = 0.98 \[ \int x^3 (a+b x) \cosh (c+d x) \, dx=\frac {12\,b\,x^2\,\mathrm {sinh}\left (c+d\,x\right )+6\,a\,x\,\mathrm {sinh}\left (c+d\,x\right )}{d^3}-\frac {6\,a\,\mathrm {cosh}\left (c+d\,x\right )+24\,b\,x\,\mathrm {cosh}\left (c+d\,x\right )}{d^4}-\frac {3\,a\,x^2\,\mathrm {cosh}\left (c+d\,x\right )+4\,b\,x^3\,\mathrm {cosh}\left (c+d\,x\right )}{d^2}+\frac {a\,x^3\,\mathrm {sinh}\left (c+d\,x\right )+b\,x^4\,\mathrm {sinh}\left (c+d\,x\right )}{d}+\frac {24\,b\,\mathrm {sinh}\left (c+d\,x\right )}{d^5} \]
[In]
[Out]